<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">
<ui:include src="/pages/common/head.xhtml" />
<h:body>
	<ui:include src="/pages/common/loading.xhtml" />

	<div class="PC">

		<ui:include src="/pages/common/menu.xhtml" />

		<div id="CONTENTSIDE">
			<div id="CONTENTSIDEindent">

				<ui:include src="/pages/common/header.xhtml" />

				<ui:insert name="content">
					<div class="ContentSideSections">
						<div class="Content100 overHidden TextShadow">
							<span class="fontSize30 TextShadow orange mediumFont marginBottom20 dispBlock"><ui:insert name="titulo" /></span>

							<h:form id="searchForm">
								<ui:insert name="filterGrid" />
								<p:spacer height="10px" />
								<p:separator />
								<p:spacer height="10px" />
								<p:messages id="searchMessages" />
								<ui:insert name="resultTable" />
								<p:defaultCommand target="searchButton" />
							</h:form>

							<h:form id="editForm">
								<p:dialog modal="true" id="idEditDialog" widgetVar="editDialog" draggable="false" resizable="false" showHeader="false" position="top">
									<p:panel id="editPanel" style="border:none !important;">
										<ui:insert name="editDialog" />

										<p:spacer />
										<p:separator />

										<p:scrollPanel id="messagesPanel" scrollMode="native" styleClass="messagesPanel">
											<p:messages />
										</p:scrollPanel>

										<p:toolbar>
											<p:toolbarGroup align="left">
												<ui:insert name="buttons" />
											</p:toolbarGroup>
										</p:toolbar>

										<p:defaultCommand target="submitButton" />
									</p:panel>
								</p:dialog>

								<ui:insert name="complement" />
							</h:form>
						</div>
					</div>
				</ui:insert>

				<ui:include src="/pages/common/footer.xhtml" />
			</div>
		</div>
	</div>
</h:body>
</html>